Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

Sure. Pretty simple really.
~Umberto Nongeroson 20.Nov.03 05:21 PM a Web browser
Domino Designer 6.0.2 CF2 Windows XP


If source.isnewdoc=False Then
Set doc=source.document
f1val = doc.Field1(0)
If f1val <> "" Then
Messagebox f1val, 0,"Document In-Use"
continue=False
Delete doc
Else
continue=True
uname = doc.ParentDatabase.Parent.CommonUserName
doc.Field1 = "This document is currently being edited by: " + uname + ". Please try back later."
docsaved=doc.save(False, False)
If Not docsaved Then
continue=False
Delete doc
End If
End If
End If




Adding user id to messagebox (~Yentl Opgerove... 20.Nov.03)
. . RE: Adding user id to messagebox (~Mario Lopkiste... 20.Nov.03)
. . Sure. Pretty simple really. (~Dan Elhipister... 20.Nov.03)
. . . . RE: Sure. Pretty simple really. (~Yentl Opgerove... 20.Nov.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS